<?
/**
 * <b>SKUArrayType Class</b>
 * Published 04/11/2010 19:00:55
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('SKUType.php');

class SKUArrayType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var SKUType $SKU
	public $SKU;
 /** End Properties **/

/**
 *
 * @param  $index 
 * @return SKUType
 */
	function getSKU($index = null){
		if($index){
			return($this->SKU[$index]);
		}else{
			return($this->SKU);
		}
	}
/**
 *
 * @param  $value 
 * @param  $index 
 * @return void
 */
	function setSKU($value,$index=null){
		if ($index) {
			$this->SKU[$index]=$value;
		}else{
			$this->SKU=$value;
		}
	}

/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("SKUArrayType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"SKU"=>
					array(
						"required"=>false,
						"type"=>"SKUType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>true,
						"cardinality"=>"0..*"
					)
			)
		);
	}
}
?>
